/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.zhaocai.entity;

import org.hibernate.validator.constraints.Length;

import com.zcm.common.persistence.DataEntity;

/**
 * 看盘数据Entity
 * @author www
 * @version 2018-04-22
 */
public class ZcmKanpanData extends DataEntity<ZcmKanpanData> {
	
	private static final long serialVersionUID = 1L;
	private String type;		// 数据分类
	private String content;		// 内容
	private String day;		// day
	
	public ZcmKanpanData() {
		super();
	}

	public ZcmKanpanData(String id){
		super(id);
	}

	@Length(min=1, max=1, message="数据分类长度必须介于 1 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	@Length(min=1, max=20, message="day长度必须介于 1 和 20 之间")
	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}
	
}